package com.xone.collaboration.common;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor(staticName = "of")
public class Result<T> {

    /**
     * 是否成功
     */
    Boolean success = true;

    /**
     * 返回结果
     */
    T content;

    /**
     * 额外信息
     */
    String message;

}
